import { postRequest } from "@/utils/request";
/**
 * 查询类型
 */
export function selectIndustryApi(data) {
    return postRequest(
        "/course-type-entity/selectCourseType",
        data
    );
}
/**
 * 新增类型
 */
 export function insertIndustryApi(data) {
    return postRequest(
        "/course-type-entity/addCourseType",
        data
    );
}

/**
 * 修改类型
 */
 export function updataIndustryApi(data) {
    return postRequest(
        "/course-type-entity/updateCourseType",
        data
    );
}

/**
 * 删除类型
 */
 export function deleteIndustryApi(data) {
    return postRequest(
        "/course-type-entity/deleteCourseType",
        data
    );
}

/**
 * 修改类型状态
 */
 export function deleteIndustryStatusApi(data) {
    return postRequest(
        "/course-type-entity/updateCourseTypeStatus",
        data
    );
}